<h1>Listing user_trips</h1>

<table>
  <tr>
    <th>Usr</th>
    <th>Tri</th>
  </tr>

<% @user_trips.each do |user_trip| %>
  <tr>
    <td><%=h user_trip.usr_id %></td>
    <td><%=h user_trip.tri_id %></td>
    <td><%= link_to 'Show', user_trip %></td>
    <td><%= link_to 'Edit', edit_user_trip_path(user_trip) %></td>
    <td><%= link_to 'Destroy', user_trip, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New user_trip', new_user_trip_path %>